/*
 * AP(r) Computer Science GridWorld Case Study:
 * Copyright(c) 2005-2006 Cay S. Horstmann (http://horstmann.com)
 *
 * This code is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * @author Cay Horstmann
 * @author Chris Nevison
 * @author Barbara Cloud Wells
 */

import info.gridworld.actor.ActorWorld;
import info.gridworld.grid.Location;

import java.awt.Color;

/**
 * This class runs a world that contains box bugs. <br />
 * This class is not tested on the AP CS A and AB exams.
 */
public class BoxBugRunner {
    public static void main(String[] args) {
        int[] arg = {3, 2, 4, 1};
        ActorWorld world = new ActorWorld();
        BoxBug alice = new BoxBug(6);
        alice.setColor(Color.ORANGE);

//        /* test circlebug */
//        CircleBug duke = new CircleBug(3);
//        duke.setColor(Color.blue);
//        world.add(new Location(4, 6), duke);
//
//        /* test spiralbug */
//        SpiralBug cindy=new SpiralBug(5);cindy.setColor(Color.black);
//        world.add(new Location(3, 4), cindy);
//
//        /* test zbug */
//        ZBug elk=new ZBug(4);
//        elk.setColor(Color.green);
//        world.add(new Location(2, 3), elk);
//
//        /* test dancingbug */
//        DancingBug bob = new DancingBug(arg);
//        world.add(new Location(5, 5), bob);

        world.add(new Location(7, 8), alice);

        BoxBug alice_copy = new BoxBug(6);
        alice_copy.setColor(Color.RED);
        world.add(new Location(1, 8), alice_copy);

        world.show();
    }
}